package com.loan.common.exception;

/**
 * es乐观锁冲突异常
 */
public class EsConflictException extends RuntimeException {

    static final long serialVersionUID = 1L;

    public EsConflictException(){
        super("索引乐观锁冲突，更新失败");
    }

    protected EsConflictException(String message, Throwable cause,
                                  boolean enableSuppression,
                                  boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
